import { createApp } from 'vue';

import TDesign from 'tdesign-vue-next';
import 'tdesign-vue-next/es/style/index.css';
import { store } from './store';
import router from './router';
import '@/style/index.less';
import './permission';
import '@/style/iconfont.css';
import App from './App.vue';
import { getLinkUrl } from './utils/request/upload';
import VueWechatTitle from 'vue-wechat-title';
import "./webStyle/index.less";
// import { ActionSheet } from 'vant';

const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);

const app = createApp(App);
app.config.globalProperties.$filters = {
  getLinkUrl,
};
app.use(TDesign);
app.use(store);

app.use(router);

app.use(VueWechatTitle);



// app.use(ActionSheet);
app.mount('#app');

